Cassandra Design Patterns - Second Edition by Rajanarayanan Thottuvaikkatumana
Author:Rajanarayanan Thottuvaikkatumana [Thottuvaikkatumana, Rajanarayanan]
Language: eng
Format: azw3
Publisher: Packt Publishing
Published: 2015-11-04T05:00:00+00:00
Tip
Wherever the consistency level settings given in this chapter are more than ONE, it is important to make sure that the number of alive nodes in the cluster is greater than or equal to the consistency level setting. For example, if you have a single node Cassandra setup and if you are trying the CQL scripts given in this chapter where there is a consistency level setting THREE, the CQL commands will fail.
Write-heavy pattern
In an IoT application with Cassandra as the data store, if the inflow of the data is very high, the write consistency levels should not be set high. Consistency levels of ANY, LOCAL_ONE, and ONE are ideal. The data comes in with a high velocity, and the data store should work like a sink. In this situation, if the consistency levels are set high, then for each write, the clients have to wait until the write is completed successfully on the required number of nodes as per the consistency level setting. The complexity increases when there are Cassandra clusters spread across multiple data centers in a network operations perspective. When the clients wait for the write to complete because of high consistency level settings, the availability will be lesser, and the efficiency to complete the writes will also become lesser. This, in turn, increases the latency, and the overall application performance will be affected. It is also ideal to avoid secondary indexes in the Cassandra column families where a huge number of writes are taking place.
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Sass and Compass in Action by Wynn Netherland Nathan Weizenbaum Chris Eppstein Brandon Mathis(7811)
Grails in Action by Glen Smith Peter Ledbrook(7722)
Azure Containers Explained by Wesley Haakman & Richard Hooper(6882)
Configuring Windows Server Hybrid Advanced Services Exam Ref AZ-801 by Chris Gill(6875)
Running Windows Containers on AWS by Marcio Morales(6408)
Microsoft 365 Identity and Services Exam Guide MS-100 by Aaron Guilmette(5095)
Kotlin in Action by Dmitry Jemerov(5094)
Combating Crime on the Dark Web by Nearchos Nearchou(4668)
Microsoft Cybersecurity Architect Exam Ref SC-100 by Dwayne Natwick(4661)
Management Strategies for the Cloud Revolution: How Cloud Computing Is Transforming Business and Why You Can't Afford to Be Left Behind by Charles Babcock(4438)
The Ruby Workshop by Akshat Paul Peter Philips Dániel Szabó and Cheyne Wallace(4358)
The Age of Surveillance Capitalism by Shoshana Zuboff(3990)
Python for Security and Networking - Third Edition by José Manuel Ortega(3909)
The Ultimate Docker Container Book by Schenker Gabriel N.;(3577)
Learn Wireshark by Lisa Bock(3572)
Learn Windows PowerShell in a Month of Lunches by Don Jones(3531)
Mastering Python for Networking and Security by José Manuel Ortega(3378)
Mastering Azure Security by Mustafa Toroman and Tom Janetscheck(3359)
Blockchain Basics by Daniel Drescher(3331)
